﻿<UserControl x:Class="MolfMolfMolf.CommentItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignWidth="450">
    
    <Grid x:Name="LayoutRoot" Margin="0,0,0,18">
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80"/>
            <ColumnDefinition Width="370"/>
        </Grid.ColumnDefinitions>
        
        <Grid Grid.Column="0">
            <Image x:Name="CommentImage" Width="60" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        </Grid>
        
        <Grid Grid.Column="1">
            <StackPanel Orientation="Vertical">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="220"/>
                        <ColumnDefinition Width="150"/>
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <TextBlock x:Name="WriterName" Margin="12,0,0,0" HorizontalAlignment="Left"/>
                    </Grid>
                    <Grid Grid.Column="1">
                        <TextBlock x:Name="CommentRate" HorizontalAlignment="Left"/>
                    </Grid>
                </Grid>
                <TextBlock x:Name="CommentMessage" Margin="12,0,0,0" TextWrapping="Wrap"/>
            </StackPanel>
        </Grid>
        
    </Grid>
</UserControl>
